package com.esri.core.symbol;

/* loaded from: classes.dex */
public enum SymbolAlignment {
    MAP("map"),
    SCREEN("screen");
    
    private String a;

    SymbolAlignment(String str) {
        this.a = str;
    }

    @Override // java.lang.Enum
    public String toString() {
        return this.a;
    }

    public static SymbolAlignment fromString(String str) {
        SymbolAlignment[] values;
        if (str != null && !str.isEmpty()) {
            for (SymbolAlignment symbolAlignment : values()) {
                if (symbolAlignment.a.equals(str)) {
                    return symbolAlignment;
                }
            }
        }
        return null;
    }
}
